Return a deep copy of an object, recursively filtered to have only keys that match the given glob patterns.