lya: fix bogus change to clone()