Yes but Samsung copied the iPhone so closely that they lost a 7 year $1 billion lawsuit and ended up settling out of court after appealing to the Supreme Court
They almost exactly copied the major UI features in violation of the patents so it goes well beyond whether someone had made any kind of tablet before
The Galaxy Book Pro (well at least they changed one word from Mac Book Pro) has always been a close emulation of the MacBook line as well