code: public static Failure copy(Failure failure) {
          if (failure == null) {
              return null;
          }
          Failure result = new Failure();
          result.code = failure.code;
          result.details = failure.details;
          result.title = failure.title;
          return result;
      }
docs: Creates a new copy of failure descriptor.
  
  @param failure original failure descriptor (optional).
  @return copied failure descriptor (optional).
  
  @since v1.1.0