Add support to MaskWorkspace. Refs #6904.