public Builder toBuilder() {
    return builder().setName(name).setEntries(entries);
  }
Creates a builder configured with the current values.

@return {@link Builder} configured with the current values
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/FileEntriesLayer.java