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