Using the Tweaks tool, it's possible to change the buttons layout and also add a minimize button.
However, how could we add a button for toggling "always on top"?
There's a "custom layout" option in Tweaks, where you can write the buttons names and order them. Maybe there's a name for the always on top button? I've tried "top" and "alwaysontop" without success.