The "doubled" verb in this construction behaves like a deverbal noun: It is preceded by a definite article, and followed by a relative clause, overtly introduced by wati (all-purpose relativizer) or dati 'that', or by a null complementizer.
Source: Kouwenberg 1994: 437
Source: Kouwenberg 1994: 441