method

slice!

slice!(*keys)
public

Replaces the hash with only the given keys.