Added tests to make sure objects and arrays are clones