Prevent clone from deep copy of unsafe object. Closes #1662