fixing issue89

cloning arrays in copy-constructor
Revert "fixing issue89"

This reverts commit fc4bc6353e4b3f07652cdf635d410d2f4cf8a8e0.
fixing issue90

cloning arrays in copy-constructor