Utility for cloning objects and arrays so you can manipulate them without borking your original data