withFilter

Creates a new key copying its data and taking the passed filter.