bug fix - passing Object.getPrototypeOf() to Object.create() on deepCopy to assist with reference issues