Fix a bug with Array.clone