Version: 2017.2
public static GameObject CreatePrefab (string path, GameObject go, ReplacePrefabOptions options= ReplacePrefabOptions.Default);

Description

Creates a prefab from a game object hierarchy.