When you do an upgrade on your existing copy of Windows, it creates a hardware hash based on hardware IDs in certain components. Then it registers that hash with the activation server, assigns you a key, and pairs the hardware hash with that key.
Then when you do the clean install on that...