Looping animations exported as GIF have unintended hold frames at end of loop if not the last loop in the timeline

After some vigorous testing of balls, I’ve come to the conclusion that no matter what, any loop that isn’t at the very end of the timeline will encounter a painfully obvious duplicate frame at the end of the animation loop when exporting a GIF.