The easiest might be to copy the entire code into another unit, and then strip off unused units and make whatever changes.
Otherwise you will have to edit the LPI file of the project, and
I guess remove (for the existing unit) stuff like
<ComponentName Value="Form1"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>