Nature of extended defects of CuO