private function getIdenticalObject(ActiveRecordInterface $object)
 {
     foreach ($this as $obj) {
         if ($obj instanceof ActiveRecordInterface && $obj->hashCode() === $object->hashCode()) {
             return $obj;
         }
     }
     return null;
 }