Certainly. Get the spectype of an existing parameter and create a new parameter using that spectype.