This trial is conducted in the United States of America (USA). The aim of the trial is to confirm the efficacy of IDeg (insulin degludec) versus IGlar (insulin glargine) in controlling glycaemia. Subjects are to continue their pre-trial metformin treatment.