One-sweep clause cleaning