Treat zeroing Mats and Dats as a modification

Zeroing a Mat or a Dat should trigger copy on write operations.