public Allocation withRestart(Generation generation) {
        return new Allocation(owner, clusterMembership, requestedResources, generation, removable, reusable, networkPorts);
    }
Returns a copy of this with the current restart generation set to generation
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Allocation.java