return appendBranchImpl(node, true);
}
private Proxy.Node appendBranchImpl(Proxy.NodeRO node, boolean withChildren) {
final MClipboardController clipboardController = (MClipboardController) ClipboardController.getController();
final NodeModel newNodeModel = clipboardController.duplicate(((NodeProxy) node).getDelegate(), withChildren);
final MMapController mapController = (MMapController) getModeController().getMapController();
mapController.insertNode(newNodeModel, getDelegate());
return new NodeProxy(newNodeModel, getScriptContext());
}