If you can recall the other details of the conversation it might be a little easier to work out, but on face value the ATCO could have meant for you either to keep the traffic in sight, or to maintain 8km VIZ, 1500m lateral and 1000ft vertical seperation from cloud AND clear of terrain.
Visual when appended to an instruction in CTA is straight-forward, but confusing when OCTA.