I know this could be done with AMD profiles, I had written a batch/script that would switch profiles when loading games.
Sadly I have no hands on experience with nvidia surround so im not sure how it switches the profiles, or if profile are saved as files or registry data.
A quick switch method between single mon, multi-mon and surround modes would be to press and hold the windows key + P.
This will bring up a display mode menu...
Computer Only = Single monitor mode
Duplicate = Surround mode
Extended = Multi-mon mode.
Quicker than loading the nvidia control panel and switching modes that way.