Fix issue with cloning arrys with objects. Closes #33.