implement simple versions of the clone functions

add warning, not to pass the same pointer multiple times to the clone functions

(0) -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial