I have actually accidently done this when I first got my macbook and set both the right command and right option as an option key. I don't remember how as when I exit both SEIL and Karabiner it still happens.
Does anyone know another way to do this without karabiner and seil? I am using El Capitan.