Currently using ArcGIS JS 4.x, but Measurement only provides a Clear() method, not a Complete method, so the user must double-click the mouse to complete the measurement.