Simple selective clone function