A study of deuterated water in the low-mass protostar IRAS 16293-2422