Tweak to Animation()

By cloning the keyFrames array before normalizing, we can eliminate the
need for loopBack in some animation segments. This reduces the number
of required keyFrames by making the first step work for the loopback
step as well.