Samsung pretty clearly took the iPhone and decided to make their own equivalent. It's an approach they've used (with great success) when competing with Sony. Unlucky for them Apple patented their work every step of the way.
Microsoft however went back to the drawing board, looked at how users were actually using the iPhone, went through their own product development process and built something unquestionably unique.