Add method removeEqual to Entity