Fix an issue with inadvertently changing properties 

Introduced ages ago by performance optimization 8ac2c503, made visible by ability to edit entities.
See https://github.com/doctrine/doctrine2/pull/382 for a discussion on an alternative solution.

@justin: pls test- this is the workaround for the issue raised by you