It depends on what you want to use it for, whether you want to deal with 2 operating systems, 2 sets of apps, etc.
The iPad will get updates for longer, and I prefer the aluminium build to the glass backs Samsung use these days. As someone who uses a stylus with a tablet the fact that the Apple one is an optional (and expensive) extra is a drawback, as is the fact that I'd have to find alternatives to some of the apps I use most. Without knowing more about what you want from a tablet and how easily you switch OSes, what apps you use, it's really hard to answer.