`vector-api` now has `ol.source.Vector#clear`.