Don't modify arguments in syncer

Definitely not good practice to modify arguments directly. Better to clone them before interacting with them.