Same comments as copyObject()