Deeply copy image resources.