# clone method

FaceTemplate clone()

Creates a copy of the FaceTemplate object.

return The newly created FaceTemplate object. throws FaceException An error has occurred during Face Library execution.

## Implementation

    FaceTemplate clone() {
      FaceTemplate clone = FaceTemplate();
      var err = faceSDK.id3FaceTemplate_CopyTo(_pHandle.value, clone.handle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
      return clone;
    }