Fix a bug with arrays not being deep copied