docs: @Override
     public boolean retainAll(Collection<?> c) {
        boolean modified = false;
        try (CloseableIterator<O> it = iterator()) {
           while (it.hasNext()) {
              if (!c.contains(it.next())) {
                 it.remove();
                 modified = true;
              }
           }
           return modified;
        }
     }