docs: public static <T> Collection<T> unique(Collection<T> self, boolean mutate, Comparator<T> comparator) {
          List<T> answer = uniqueItems(self, comparator);
          if (mutate) {
              self.clear();
              self.addAll(answer);
          }
          return mutate ? self : answer;
      }