Persistent last changed

I’d like to have a version of the last_changed attribute that is persistent such that if you shutdown HA it is not reset, etc.

Does such a thing exist?