fix Core.clone array to object