Merge "Deep copy arguments to avoid accidental mutation." into rvc-dev am: 4af9a76e am: 180a61d1 Change-Id: Ib554f904e45e09968468cd70fe722a3d0ca88953