code: func NewImageManifest(ref reference.Named, desc ocispec.Descriptor, manifest *schema2.DeserializedManifest) ImageManifest {
  	return ImageManifest{
  		Ref:              &SerializableNamed{Named: ref},
  		Descriptor:       desc,
  		SchemaV2Manifest: manifest,
  	}
  }
docs: // NewImageManifest returns a new ImageManifest object. The values for Platform
  // are initialized from those in the image