JS - Duplicate and Copy Element's Methods