code: public void clear(PhantomReference<T> reference) {
          Optional.ofNullable(registeredMap.remove(reference)).ifPresent(a -> reference.clear());
      }
docs: Clear tracked object
  
  @param reference The PhantomReference of tracked object