* @param original
* the object to clone
* @return a clone of the original object
*/
private static final ExclusiveGateway clone(final ExclusiveGateway original, final Diagram diagram) {
ExclusiveGateway result = new ExclusiveGateway();
result.setId(ActivitiUiUtil.getNextId(result.getClass(), CreateExclusiveGatewayFeature.FEATURE_ID_KEY, diagram));
return result;
}