Clone javascript array