UIServices.lookup().getWorkspacesManager().store(workspaceClone);
results[0] = workspaceClone;
//Fires the workspace duplicated event to all listeners
List list = UIServices.lookup().getWorkspacesManager().getListeners(EventConstants.WORKSPACE_DUPLICATED);
WorkspaceDuplicationEvent event = new WorkspaceDuplicationEvent(EventConstants.WORKSPACE_DUPLICATED, workspace, workspaceClone);
log.debug("Firing event " + event);
for (Iterator it = list.iterator(); it.hasNext();) {
WorkspaceListener listener = (WorkspaceListener) it.next();
try {
listener.workspaceDuplicated(event);