Merge "Deep copy arguments to avoid accidental mutation." into rvc-dev am: 4af9a76e am: 55978c3e Change-Id: I9d2d8d5d57c80393a1196543cda4c3e4bbb240ac