Clone when copying arrays and objects