This assumes that the data coming in is a map, list, or primitive (json).
List<dynamic> deepCloneList(final Iterable<dynamic> _in) { return [..._in.map((item) => deepClone(item))]; }