code: public DeleteOptions copy() {
          DeleteOptions deleteOptions = new DeleteOptions()
              .writeConcern(getWriteConcern());
  
          if (getCollation() != null) {
              deleteOptions.collation(Collation.builder(getCollation()).build());
          }
  
          return deleteOptions;
      }
docs: Copies this instance to a new one.
  
  @return the new instance