docs: @SuppressWarnings("unchecked")
      public static <T extends Example> T[] asArray( T example )
      {
          List<Example> examples = asList( example );
          T[] array = (T[]) Array.newInstance( example.getClass(), examples.size() );
          return examples.toArray( array );
      }