Hola kaiowa.
Un código sencillo:
Código HTML:
<html>
<head>
<script>
function anadir(obj) {
elem=document.createElement('input');
obj.appendChild(elem);
}
</script>
</head>
<body>
<form>
<input type="button" onclick="anadir(this.form)" />
</form>
</body>
</html>
Si lo necesitas más complicado, seguro que podemos complicarlo
Saludos,