Clone old imports before deleting variables
Clone old imports before deleting variables

Although we aren't using the old imports later in this function, we are
modifying the data and the naming implies that there will be a division
here. To prevent future bugs, it seems prudent to clone first.

trotzig/import-js,trotzig/import-js,trotzig/import-js,Galooshi/import-js