Everything in the Universe has the capacity to record and restore memory because memory is a Matter.
Even a stone records and keep the memory of how to respond if a powerful mass is going to hit it and break it into pieces.
Likewise your joy is a muscle memory, your pain is a muscle memory. Muscle memories are your patterns as your everyday activities/lifestyles.