Clone arguments array before modifying.