code: @SafeVarargs
    /* #end */
    public static <KType> KTypeScatterSet<KType> from(KType... elements) {
      final KTypeScatterSet<KType> set = new KTypeScatterSet<KType>(elements.length);
      set.addAll(elements);
      return set;
    }
docs: /* #if ($TemplateOptions.KTypeGeneric)