// Cloned via Drag and Drop
if (nested != null) {
if (p != null && bounds != null) {
Point2D insert = graph.fromScreen(graph
.snap((Point2D) p.clone()));
dx = insert.getX() - bounds.getX();
dy = insert.getY() - bounds.getY();
// Cloned via Clipboard
} else {