Adds option to clone a session by doubleclicking the tab (issue #1450, #1063)