Reset rotation of any object

pretty much what the title says.
Something like right clicking the thing and there is an option called “Reset rotation” that does what it says