def pick(self, keys):
        subset = dict([(key, self.criteria[key]) for key in keys])
        return self.__class__(**subset)
returns an instance with just those keys
dataset/ETHPy150Open saltstack/salt/salt/modules/mount.py/_fstab_entry.pick