Swaps the objectIDs, handles, XData,and extension dictionary between this object and another object.