How to set mask paint like as ZB?

Hello Guys
I wanna to set mask like as ZB mode (It’s is change mask mode when I press CTRL )
But I can’t set that in Preferences (there only have three choice: Smooth,Invert and Regular)
So how do I do??thks!

未命名-1|606x500

M : Face selection for masking
Alt + M : Clear selection

Also:
H : Hide area
Shift + H : Unhide area
Alt + H : Unhide all