Update composer, remove __clone function on coretrait