There is this tool in several other games.
Saving the game does not have to happen automatically, for example, having the option at the top of the game containing "Download replay",
And if you have to send these replays to a "cache", the game itself will automatically delete the replays after some time to increase the memory used.