The Logix-family controllers don't have a "hold up" capacitor like the SLC controllers do, so even a few moments with the power off and the battery disconnected will clear the memory. There's no need to short the battery connector to drain anything.
There is no "clear memory" function in RSLogix 5000 that the user can perform.