Duplicate entities remove