LocatorLocator.cloneVersion: 24.1.0On this pageLocator.clone() method Clones the locator. Signature class Locator { clone(): Locator<T>;} Returns: Locator<T>