ol-ext: Clip map or layer

ol.filter.Clip use a list of coordinates to clip map or layer.
Coordinates can be defined with pixel units or percentage.