public Node withWantToRetire(boolean wantToRetire, Agent agent, Instant at) {
        return withWantToRetire(wantToRetire, status.wantToDeprovision(), agent, at);
    }
Returns a copy of this node with wantToRetire, wantToDeprovision and wantToRebuild set to the given values
and updated history.

If all given values are equal to the current ones, the method is no-op.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java