-
imho, -clonevar- is an extremely underappreciated @Stata command. (It duplicates not just data types, but also e.g., value labels.) Often when you “gen x2 = x” you’d do better with “clonevar x2 = x”. Especially useful to “clonevar … if …”. @_bbdaniels/1178670684748357632