add cloneWhitelisted (with basic tests)