Add ability to transform subsets into pixel masks

Allows subsets to be propagated to any spatially-overlapping dataset,
even if the subset is originally defined using foreign attributes