clone array