The Restore Default only defaults the default groups so your custom groups are safe. The only chance of issues for your custom groups would be if we created a new default group with the same name.
When you edit a default group there is now a box to protect individual permissions.