Added clipping option

It needs some fixing for multiple center inputs.