<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def clone(self, document):
		''' Serialize a document, remove its _id, and deserialize as a new
			object '''

		wrapped = document.wrap()
		if '_id' in wrapped:
			del wrapped['_id']
		return type(document).unwrap(wrapped, session=self)