@Override
  public Object clone() {
    try {
      PartitionAttributesImpl copy = (PartitionAttributesImpl) super.clone();
      if (copy.fixedPAttrs != null) {
        copy.fixedPAttrs = new ArrayList<>(copy.fixedPAttrs);
      }
      if (copy.partitionListeners != null) {
        copy.partitionListeners = new ArrayList<>(copy.partitionListeners);
      }
      return copy;
    } catch (CloneNotSupportedException ignore) {
      throw new InternalGemFireError(
          "CloneNotSupportedException thrown in class that implements cloneable");
    }
  }
Returns localMaxMemory for validation of attributes before Region is created (possibly before
DistributedSystem is created). Returned value may be the temporary placeholder representing
offHeapLocalMaxMemory which cannot be calculated until the DistributedSystem is created. See
bug #52003.

@see #OFF_HEAP_LOCAL_MAX_MEMORY_PLACEHOLDER
@see #getLocalMaxMemory()
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionAttributesImpl.java