What if there was a function that duplicates layer by name with all it's contents?
This might be useful for traffic optimisation. For example if i don't want to download thumbnails twice.
I could make layer, assign url with image to it then make a copy of and do some things separately with copies.
duplicatelayer(name, new_name);