add support for array mask

Where the array is an array of property names to mask