fixed tab clone (now copies history and state)