made addToRowCardinality return a new CheckpointedDrmSpark and so support immutability--still a question whether this is the right implementation of this.