It seems that Blender 2.8 doesn't support Mask & Exclude together. It is important in motion graphic for example. Or I am overlooked something?
I know that I can turn off indirect contributions from the object properties, but that would be a problem, because I need to use the same object on another layer.
Blender 2.79 (object is masked and excluded)