extract PGeomContainer/empty as PClear protocol (rename to `clear*` to avoid name collision with java.util for Vec2/3), implement for Vec2/3, update references, add tests