add clear() routine for CPL array