removed clone from layout trait