ReadWriteCopyStrategy<Element> copyStrategy = null;
if (configuration.getTransactionalMode().isTransactional()) {
configuration.getCopyStrategyConfiguration().setCopyStrategyInstance(null);
copyStrategy = configuration.getCopyStrategyConfiguration().getCopyStrategyInstance();
configuration.getCopyStrategyConfiguration().setCopyStrategyInstance(new ImmutableValueElementCopyStrategy());
}
if (configuration.getTransactionalMode().isTransactional()
&& configuration.isTerracottaClustered()
&& configuration.getTerracottaConfiguration().getValueMode() != TerracottaConfiguration.ValueMode.SERIALIZATION) {