doctrine/doctrine2 — comment on commit 08716d9f72996bab8c71a8cc8bda72d3925e8fb1
File: lib/Doctrine/ORM/UnitOfWork.php line 1481
By gedrox:

Original $entity is rewritten here and everything is broken.