Re #7218. Lock the workspace during the clone operation.