As I understand it, all answers are correct but the last one is rare. So, all versions are interchangeable, aren't they?
'Would you like to have this ice-cream or that?'
Give me both of them. / Give me both. / Give me them both. / Give me both ones.