It'd be nice to have createSubset be able to take in the list of values (current) or a condition function that defines what elements to keep