S state = ((TransientApplicationState<S>) instanceState).getContentState();
if (state != null) {
dstCustomization.setState(state);
}
} else if (instanceState instanceof CloneApplicationState) {
CloneApplicationState cloneState = (CloneApplicationState) instanceState;
//
Customization<?> customization = session.findCustomizationById(cloneState.getStorageId());
//
dst.customize(customization);
} else if (instanceState instanceof PersistentApplicationState) {
// Do nothing