It would be quite straightforward to add a checkbox to enable a mask input in the macro configuration. You’d probably be responsible for applying the mask yourself inside the macro with a combiner as HYLK mentions above, as WM doesn’t know exactly the semantics of which outputs need to be masked against which inputs, etc.