This computer is very close to a rMBP, and lets be honest, the display has a higher rez. rMBP is 3K this is 4K. rMBP has a faster CPU option but this has a 960m that's better than the rMBP GPU. So why is it cheaper? Three reasons.
The biggest is that its not using PCIe SSD. PCIe SSD is crazy expensive. If you look for it on amazon the closest one to the 512GB matching the read/wright you can get in the rMBP is $699.
The next thing is that it has 1 more thunderbolt port than it does, that's going to add probably $40.
The rest of it is that fact that its Apple, i.e. design cost. I've said it before, Apple is largely a design company, granted a electronics design company but design none the less. This causes things to cost more than they may technically be worth. However, they look and perform amazingly so that's a conclusion you would have to make on your own