How can I fully factory reset an Optimus 2X P990 with ClockWorkMod?
After restoring your backup of the original firmware, in recovery select 

Wipe Data/Factory Reset


This way you have the original firmware (except for the recovery partition) but without any user data.