I noticed another post about buying a deregistered experimental, and it leads to me wondering when a plane is a new plane.

If, hypothetically, that deregistered plan was purchased for parts to build a new one, how much could be used as parts and still certificate as a new E-AB?