doorOrWindow.getWallDistance(), doorOrWindow.getSashes(),
doorOrWindow.getModelRotation(), doorOrWindow.getCreator(),
doorOrWindow.isResizable(), doorOrWindow.isDeformable(), doorOrWindow.isTexturable(),
doorOrWindow.getPrice(), doorOrWindow.getValueAddedTaxPercentage());
} else if (piece instanceof CatalogLight) {
CatalogLight light = (CatalogLight)piece;
piece = new CatalogLight(light.getId(), suffixedName,
light.getDescription(), light.getIcon(), light.getPlanIcon(), light.getModel(),
light.getWidth(), light.getDepth(), light.getHeight(), light.getElevation(),
light.isMovable(), light.getLightSources(),
light.getModelRotation(), light.getCreator(),
light.isResizable(), light.isDeformable(), light.isTexturable(),
light.getPrice(), light.getValueAddedTaxPercentage());
} else {
piece = new CatalogPieceOfFurniture(piece.getId(), suffixedName,
piece.getDescription(), piece.getIcon(), piece.getPlanIcon(), piece.getModel(),
piece.getWidth(), piece.getDepth(), piece.getHeight(), piece.getElevation(),
piece.isMovable(), piece.getModelRotation(), piece.getCreator(),