[filter] Add an option to inherit filters