Auto-Create Deal based on Lookup Value

Auto-Create Deal based on Lookup Value

Is there a custom function that I can create that auto-generates a Potential Record (with specific Layout) based on a lookup field of an existing Potential Record?