Collectionwise Hausdorffness is hereditary