src/Requests/Application/ProfileRequests.php
public function cloneById($appId, $profileId, $input, array $queryParams = [])
    {
        $response = $this->client->post($this->uri($appId, $profileId, true), [
            RequestOptions::JSON => ['profile' => $input],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
public function cloneById($appId, $profileId, $input, array $queryParams = [])
    {
        $response = $this->client->post($this->uri($appId, $profileId, true), [
            RequestOptions::JSON => ['profile' => $input],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
public function cloneById ( $ appId , $ profileId , $ input , array $ queryParams = [ ] ) { $ response = $ this -> client -> post ( $ this -> uri ( $ appId , $ profileId , true ) , [ RequestOptions :: JSON => [ 'profile' => $ input ] , 'query' => $ queryParams , ] ) ; return $ this -> handleResponse ( $ response ) ; }
Clone a existing profile

@param int $appId
@param int $profileId
@param array $input
@param array $queryParams
@return Response
Clone a existing profile