> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method CreateCloneFrom

Namespace: [Phoenix.ComponentAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI)\
Assembly: Phoenix.ComponentAPI.dll

## CreateCloneFrom(IEnumerable\<KeyValuePair\<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data.

```csharp theme={null}
public static ComponentRunRequest CreateCloneFrom(IEnumerable<KeyValuePair<string, VariableState>> source)

```

### Parameters

`source` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[KeyValuePair](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2)\<[string](https://learn.microsoft.com/dotnet/api/system.string), VariableState>>

The input values to use for the run request.

### Returns

[ComponentRunRequest](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunRequest)

A newly created ComponentRunRequest

### Remarks

You should always
use the returned value in a using block, or otherwise ensure it will be disposed.

## CreateCloneFrom(IEnumerable\<IRuntimeVariable>, IEnumerable\<KeyValuePair\<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data, filtered by a set of inputs.

```csharp theme={null}
public static ComponentRunRequest CreateCloneFrom(IEnumerable<IRuntimeVariable> inputList, IEnumerable<KeyValuePair<string, VariableState>> source)

```

### Parameters

`inputList` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[IRuntimeVariable](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.PaczAPI.IRuntimeVariable)>

Which variables to include from `source`

`source` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[KeyValuePair](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2)\<[string](https://learn.microsoft.com/dotnet/api/system.string), VariableState>>

The input values to use for the run request.

### Returns

[ComponentRunRequest](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunRequest)

A newly created ComponentRunRequest

### Remarks

You should always
use the returned value in a using block, or otherwise ensure it will be disposed.

## CreateCloneFrom(IEnumerable\<string>, IEnumerable\<KeyValuePair\<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data, filtered by a set of inputs.

```csharp theme={null}
public static ComponentRunRequest CreateCloneFrom(IEnumerable<string> inputList, IEnumerable<KeyValuePair<string, VariableState>> source)

```

### Parameters

`inputList` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

Which variables to include from `source`

`source` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[KeyValuePair](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2)\<[string](https://learn.microsoft.com/dotnet/api/system.string), VariableState>>

The input values to use for the run request.

### Returns

[ComponentRunRequest](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunRequest)

A newly created ComponentRunRequest

### Remarks

You should always
use the returned value in a using block, or otherwise ensure it will be disposed.
