As I understand it, there are ways and ways of transferring property.
I imagine that what you have in mind involves 'related parties.' Despite
that caveat, perhaps - just perhaps - the sale/transfer can be done
in a way that avoids any depreciation claw back? You'll likely need
advice from experts for that, despite the good intentions motivating
PT Forumites' views.