static L syncCloneAndClearList(Cl l) { if (l == null) ret emptyList(); synchronized(collectionMutex(l)) { L l2 = cloneList(l); l.clear(); ret l2; } }