class Node implements Cloneable {

    final int id;
    boolean fixed;
    float x;
    float y;
    float subX;
    float subY;
    float energy;

    public Node(int id) {
        this.id = id;
        fixed = false;
        x = y = 0;
    }

    @Override
    protected Node clone() {<FILL_FUNCTION_BODY>}
}

        Node clone = new Node(id);
        clone.fixed = fixed;
        clone.energy = energy;
        clone.x = x;
        clone.y = y;
        clone.subX = subX;
        clone.subY = subY;
        clone.energy = energy;
        return clone;
    
<no_super_class>