# clone method

DetectedFaceList clone()

Creates a copy of the DetectedFaceList object.

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

## Implementation

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