clone method

dynamic clone()

Implementation

clone() {
  const tracks = [];

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

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