There is a packaged tool for cleaning disks called 'wipefs' . I suggest using it on partitions (/dev/sdX1,/dev/sdX2, etc.) individually first and then do the whole disk last (/dev/sdX).
If you do not clean up the partitions first and instead wipe the MBR/GPT tavble first, those partition...