How do I work this?

So, I have a script where it takes a character out of a folder in workspace, then puts it inside a viewport frame. the problem is, sometimes you can have different viewports with the same character in it. I need to clone it somehow, and put the clone inside the viewport. How would I do this?

local Viewport = --path
local character = --path

local charinviewport = character:Clone().Parent = Viewport

wouldnt that work??

I mean I tried it with one of my other games, it didn’t work. I’ll try it with this one, and I’ll see if its the same story.

The character may not be visible in the viewport.