code: public static <T> T newInstance(final T value) throws MIDDException {
          if (value == null) {
              return null;
          } else {
              return newInstance(value, value.getClass());
          }
  
      }
docs: Create a new object of type <code>T</code>, which is cloned from <code>value</code>.
  The equivalent class copy constructor is invoked.
  @param value
  @param <T>
  @return
  @throws MIDDException