Fix array clone frozen object error