docs: @SuppressWarnings("unchecked")
      public static <T> T[] toUnique(T[] self, @ClosureParams(value=FromString.class, options={"T","T,T"}) Closure condition) {
          Comparator<T> comparator = condition.getMaximumNumberOfParameters() == 1
                  ? new OrderBy<T>(condition, true)
                  : new ClosureComparator<T>(condition);
          return toUnique(self, comparator);
      }