It just uses data layout. Normal volumes have some wasted space filled with random data. Volumes with hidden volumes inside them fill that space with a second header. If the outer volume is naively mounted, writes can destroy the data stored in the inner volume.