Implemented duplicate objects detection