Move adjust_clip_extent to clipper module.