propelorm/Propel — pull request #676 by Danez (2013-05-03 07:42:36+00:00)
Title: Fixed Bug #478

Avoid clearing references on BaseObject in __sleep method
because this breaks setting foreign references. By cloning the
BaseObject itself we ensure the the Baseobject itself is not
changing but sleep still returning the same