doctrine/doctrine2 — pull request #1206 by Metabor (2014-12-04 14:57:18+00:00)
Title: matching should not change critera

The matching should behave like in ArrayCollection, where it is not changed.
The criteria should be cloned so that it could be used for more than one matching operation.