imagep(): new arg  'clipz'

This is in preparation for work on issue 309