Clone's JavaScript object