If you’ve been broken up with, what could they have done to be kinder about it?

Basically the title.

Is there a way to make a breakup kind and less hurtful/more considerate? What do you wish they would've done in the process?