With Linux, it comes natively by opening up another window.
Windows may work with a third-party tool, such as TwinsPlay, but I haven't tried it: http://www.twinsplay.com/
Windows 7 preview: http://arstechnica.com/microsoft/news/2008/10/first-look-at-windows-7.ars