Creates an ImageLayer that is remembered across compositions and released when the composition leaves.