Are there any solutions to completely spoof a device's build/fingerprint/id?

Wait 5 sec.

Doesn't have to be permanent, it can be reset on reboot or whatever, but if an app bans or flags my device for being suspicious or rooted, I want to be able to start a clean slate with the app. Is this possible?