[AnimationClip] adding final animation frame

+ whenever all frames are added the final one have to be generated,
depending on whether the animation is looped (return to the starting
state) or not looped (keep the last state)
+ it’s done by copying (shallow) the proper keyframe under an animation
time in the internal keyframe dictionary