The primary objective of this study is to clarify the changes in gut peptides and gut permeability after implantation the EndoBarrierTM in obese subjects with sub-optimally controlled type 2 diabetes mellitus. Additionally, the investigators aim to determine the changes in body weight and measure of adiposity, the change in global cardiovascular risk from baseline to 12 months as well as the changes in insulin sensitivity and beta-cell function over time.