Scotland coach Steve Clarke has signed a new contract before the World Cup that could extend his tenure to a record 11 years.