This script for GIMP takes a set of layers and apppends a flipped copy of the layers to a copy of the layers, producing a longer looped animation from any animation.