clone method

dynamic clone()

Implementation

clone() {
  const tracks = <KeyframeTrack>[];

  for (var i = 0; i < this.tracks.length; i++) {
    tracks.add(this.tracks[i].clone());
  }

  return AnimationClip(name, duration, tracks, blendMode);
}