} else if (oldPart instanceof Circuit) {
newPart = new Circuit();
} else if (oldPart instanceof GroundOutput) {
newPart = new GroundOutput();
} else if (oldPart instanceof LED) {
newPart = new LED();
newPart.setPropertyValue(LED.P_VALUE, oldPart.getPropertyValue(LED.P_VALUE));
} else if (oldPart instanceof LiveOutput) {
newPart = new LiveOutput();
} else if (oldPart instanceof LogicLabel) {
newPart = new LogicLabel();