Adding a hotkey function that is not in the visible UI

As per the Selection thread, I want to add a “Toggle Select” function to the “d” key, but my attempts to do so disabled the SHIFT+clik function.

How does one make a duplicate of a function in the Keymap Editor so you can then edit/customize it to your own liking?