It appears identity map has been removed.

https://github.com/mongoid/mongoid/issues/3471