how to Clone site on registration?

How can we clone a subsite when someone registers and chooses create subsite?