Add clear() method to NodeLocationForWays.