code: public static IntStreamEx of(IntStream stream) {
          return stream instanceof IntStreamEx ? (IntStreamEx) stream : new IntStreamEx(stream, StreamContext.of(stream));
      }
docs: Returns an {@code IntStreamEx} object which wraps given {@link IntStream}
  .
  
  <p>
  The supplied stream must not be consumed or closed when this method is
  called. No operation must be performed on the supplied stream after it's
  wrapped.
  
  @param stream original stream
  @return the wrapped stream
  @since 0.0.8