Add clip/erase for polyline layers