How to customize Restarted() to reset all slots except a particular slot

Suppose I have 10 slots. I want to use Restarted from for restarting the conversation. But I don’t want to reset all the slots and keep a particular slot for using it again in the conversation. I also want to clear the conversation history, so making an action_reset_slots action won’t do. Also if possible, can you give me an example of how to do it. Thanks.

Skip resetting a particular slot contains the answer