@Override
  public Object setValue(Object arg) {
    Object returnValue = region.put(getKey(), arg);
    regionEntry.setCachedValue(arg);
    return returnValue;
  }
Makes a copy, if copy-on-get is enabled, of the specified object.

@since GemFire 4.0
geode-core/src/main/java/org/apache/geode/internal/cache/EntrySnapshot.java